<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ page import="com.Interface.util.StringUtil"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ StringUtil.getHost()+ ":" + StringUtil.getPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
<base href="<%=basePath%>">
<%@ include file="common/top.jsp"%>
<script   type="text/javascript" src="web/js/common.js"></script>
<script   type="text/javascript" src="web/js/personalCenter.js?version=v1.0.8"></script>
</head>
<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
				</button>
				<h4 class="modal-title" id="myModalLabel">
					请选择封面图片
				</h4>
			</div>
			<div class="modal-body">
				<input id="file" type="file" />
			</div>
			<div class="modal-footer">
			 <div class="pull-left">请上传670px*400px图片</div>
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				</button>
				<button type="button" id="submit" class="btn btn-primary">
					提交
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>

<div class="modal fade" id="myModal_pic" tabindex="-1" role="dialog" aria-labelledby="myModalLabel_pic" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
				</button>
				<h4 class="modal-title" id="myModalLabel_pic">
					请选择头像图片
				</h4>
			</div>
			<div class="modal-body">
				<input id="file_pic" type="file" />
			</div>
			<div class="modal-footer">
			<div class="pull-left">请上传100px*100px图片</div>
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭
				</button>
				<button type="button" id="submit_pic" class="btn btn-primary">
					提交
				</button>
			</div>
		</div><!-- /.modal-content -->
	</div><!-- /.modal -->
</div>


<body class="gray-bg top-navigation">
    <div id="wrapper">
        <div id="page-wrapper" class="gray-bg">
          <%@ include file="common/head.jsp"%>
         
            <div class="wrapper wrapper-content">
                <div class="container">
                <div class="row">
		                <div class="ibox float-e-margins">
		                    <div>
		                        <div class="ibox-content no-padding border-left-right">
		                        </div>
		                        <div class="ibox-content profile-content row"  id="cover_pic"  style="background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;" >
		                        <div class="col-md-4">
                                </div>
		                        <div class="col-md-4 text-center"   >
		                        <div class="text-center">
		                        	<div class="m-b-sm">
                                            <img  id="pic" class="img-circle"   data-toggle="modal" data-target="#myModal_pic"  style="width: 62px;height:62px">
                                    </div>
                                </div>
								<h4><strong><span id="name"></span></strong></h4>
								<p id="leave_word"></p>
								</div>
								<div class="col-md-2 ">
								</div>
		                        <div class="col-md-2 text-center">
		                        <div><button class="btn btn-success btn-md" data-toggle="modal" data-target="#myModal" type="button"  ><i class="fa fa-plus"></i> 上传图片</button></div>
		                        <div>班组</div>
		                        <div id="class_cnt"></div>
		                        <hr>
		                        <div>话题</div>
		                        <div id="topic_cnt"></div>
		                        <div><a href="web/topicAdd.jsp" ><button class="btn btn-success btn-md" type="button" ><i class="fa fa-paper-plane-o"></i> 发布话题</button></a></div>
		                        </div>
		                          
		                        </div>
		                    </div>
		                </div>
                </div>
                <div class="row">
                            <div class="col-md-12">
                            <div class="col-md-1">
                            </div>
                            <div class="col-md-2 text-center">
                                 <button class="btn btn-white btn-md"  onclick="myClass()" type="button">我的班组</button>
                            </div>
                            <div class="col-md-2 text-center">
                                 <button class="btn btn-white btn-md" onclick="myTopic()" type="button">我的话题</button>
                            </div>
                            <div class="col-md-2 text-center">
                                 <button class="btn btn-white btn-md" onclick="myComment()" type="button">我的评论</button>
                            </div>
                            <div class="col-md-2 text-center">
                                 <button class="btn btn-white btn-md" onclick="myThumbUp()" type="button">我的点赞</button>
                            </div>
                            <div class="col-md-2 text-center">
                                 <button class="btn btn-white btn-md" onclick="myCollection()" type="button">我的收藏</button>
                            </div>
                            <div class="col-md-1">
                            </div>
                            </div>
                </div>
	             <hr>
	                <div class="col-lg-12">
	                <div class="row">
					<div class="ibox" id="content">
	               </div>
					</div>
	                </div>
                </div>
            </div>
            <!-- 底部 -->
        </div>
    </div>
    <%-- <%@ include file="common/footer.jsp"%> --%>
</body>

</html>
